-- GENERATED SPELL FOR [Ice Heart Jormungar Spawn] --


function spell0_26359(pUnit, Event) --@Gut Rip,n/a--
pUnit:FullCastSpellOnTarget(43358,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26359', 6267, 1)
end

function Sorts_26359(pUnit, Event)
local choix_sorts_26359 = math.random(0, 0)
if choix_sorts_26359 == 0 then
pUnit:RegisterEvent('spell0_26359', 1, 1)
end
end

function mob26359_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26359', math.random(1500, 3000), 1)
end

function mob26359_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26359_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26359_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26359, 1, 'mob26359_Action')
RegisterUnitEvent(26359, 2, 'mob26359_Leave')
RegisterUnitEvent(26359, 3, 'mob26359_Kill')
RegisterUnitEvent(26359, 4, 'mob26359_Die')
